#ifndef SK_BOX_SHAPE_H
#define SK_BOX_SHAPE_H

#include "sk_game_shape.h"

namespace sk
{

    class BoxShape : public GameShape
    {
    public:
        BoxShape();

        virtual void setData(void *);
        virtual int type();

        void serialiseCustomShapeData(QDomDocument * doc, QDomElement * e);
        bool deserialiseCustomShapeData(QDomElement * e);
        b2Body * addToWorld(b2World * world);
        GameShape * clone();

        virtual QString xmlType();
        static QString XmlType();

        float w, h;
    };

} // namespace sk


#endif // SK_BOX_SHAPE_H
